///*
// * main.cpp
// *
// *  Created on: May 5, 2012
// *      Author: omnia
// */
//#include <vector>
//#include <string>
//#include <sstream>
//#include <iostream>
//
//
//#include "LocationCounter.h"
//#include "symbolChecker.h"
//#include "LabelObject.h"
//#include "Line.h"
//#include "FileValidation.h"
//using namespace std;
//
//using namespace counter;
//
//
//int main(){
////	Line *l1 = new Line(0,-1,"MyProg","start","10","","");
////	Line *l2 =new Line(2,-1,"","LDA","ALPHA","","");
////
////	Line *l3=new Line(3,-1,"","ADD","BETA","","");
////	Line *l4=new Line(3,-1,"","STA","GAMMA","","");
////	Line *l5=new Line(0,-1,"ALPHA","RESW","3","","");
////	Line *l6=new Line(0,-1,"BETA","RESB","10","","");
////	Line *l7=new Line(0,-1,"GAMMA","RESB","5","","");
////	Line *l8 =new Line(3,-1,"","LDA","=x'eoof'","","");
////	Line *l9 =new Line(3,-1,"","LTORG","'","","");
////	Line *l10 =new Line(0,-1,"XX","BYTE","x'05'","","");
////	vector<Line> myV;
////	myV.push_back(*l1);
////	myV.push_back(*l2);
////	myV.push_back(*l3);
////	myV.push_back(*l4);
////	myV.push_back(*l5);
////	myV.push_back(*l6);
////	myV.push_back(*l7);
////	myV.push_back(*l8);
////	myV.push_back(*l9);
////	myV.push_back(*l10);
////	LocationCounter *l = new LocationCounter(myV);
////	l->generateOutput();
////	myV = l->output;
////
////	for (int i = 0; i < myV.size(); ++i) {
////		cout<< myV[i].opcode;
////		cout << " ";
////		cout << dec <<myV[i].address ;
////		cout <<  "\n";
////	}
////	cout << dec <<l->locationCounter;
//
//	FileValidation f;
//			char fileName [] ="test";
//			vector<Line*> lines = f.readFromFile(fileName);
//			LocationCounter *l = new LocationCounter(lines);
//			l->generateOutput();
////vector<Line> myV = l->output;
////				for (int i = 0; i < myV.size(); ++i) {
////					cout << myV[i].label;
////					cout<< myV[i].opcode;
////					cout << " ";
////					cout << dec <<myV[i].address ;
////					cout <<  "\n";
////					cout << myV[i].error;
////					cout << "\n";
////				}
//				cout << l->locationCounter;
//				l->writeFile();
//				l->printTable();
//return 0;
//
//}
///* namespace counter */
